﻿using System;
using System.Collections.Generic;
using System.Linq;

using Haushaltsbuch.Helpers.Enums;

namespace Haushaltsbuch.Helpers
{
    public class ExportAttribute : Attribute
    {
        public Type ServiceType { get; private set; }
        public ExportMode Mode { get; private set; }

        public ExportAttribute(Type serviceType, ExportMode mode = ExportMode.Singleton)
        {
            this.ServiceType = serviceType;
            this.Mode = mode;
        }
    }
}